const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave:false,

  //开启代理服务器
	devServer: {
    port:8888,
    proxy: {
      '/hwy': {
        target: 'http://localhost:8890',
				pathRewrite:{'^/hwy':''},
        // ws: true, //用于支持websocket
        // changeOrigin: true //用于控制请求头中的host值
      },
    }
  }
})
